import React from 'react'

export default (props) => {
  const {btnList} = props;
  const Btns = () => {
    console.log(btnList);
   return btnList.map(item => {
      return (
       <li key={item.id}><a href={item.href}>{item.label}</a></li>
      )
    })
  }
  return (
    <ul className='nav pull-right'>
      <Btns />
    </ul>
  )
}